package com.settlement.system.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

/**
* <p>
* 零售销货单主表
* </p>
*
* @author huangrensen
* @since 2024-08-02
*/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OdsErpRetailSalesOrderMain implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * 单据编号
    */
    private String djbh;


    /**
    * 日期
    */
    private LocalDateTime rq;


    /**
    * 原单据号
    */
    private String ydjh;
    @TableField(exist = false)
    private List<String> ydjhList;


    /**
    * 作单标志
    */
    private String djxz;


    private String fplx;


    private String lxdj;


    private Integer days;


    /**
    * 商店
    */
    private String dm1;


    private String dm11;


    /**
    * 仓库
    */
    private String dm2;


    /**
    * 库位
    */
    private String dm21;


    private String dm3;


    private String dm31;


    private String dm4;


    private String dm41;


    /**
    * 渠道代码
    */
    private String qddm;


    private String qydm;


    /**
    * 业务员
    */
    private String ygdm;


    /**
    * 数量
    */
    private Long sl;


    private Long sl1;


    private Long sl2;


    private Long sl3;


    private Long bzsl;


    /**
    * 金额
    */
    private BigDecimal je;


    /**
    * 结算额
    */
    private BigDecimal je1;


    private BigDecimal je2;


    private BigDecimal je3;


    /**
    * 标准金额
    */
    private BigDecimal bzje;


    private BigDecimal cj;


    /**
    * 提交
    */
    private String tj;


    /**
    * 提交日期
    */
    private LocalDateTime tjrq;


    /**
    * 下传
    */
    private String xc;


    private LocalDateTime xcrq;


    private String ys;


    private LocalDateTime ysrq;


    /**
    * 记账
    */
    private String jz;


    /**
    * 记账日期
    */
    private LocalDateTime jzrq;


    /**
    * 结算
    */
    private String js;


    private LocalDateTime jsrq;


    /**
    * 验收
    */
    private String sh;


    /**
    * 验收日期
    */
    private LocalDateTime shrq;


    private String sp;


    private LocalDateTime sprq;


    /**
    * 允许结算
    */
    private String ll;


    private LocalDateTime llrq;


    /**
    * 制单人
    */
    private String zdr;


    private String ysr;


    /**
    * 记账人
    */
    private String jzr;


    private String jsr;


    /**
    * 验收人
    */
    private String shr;


    private String spr;


    /**
    * 打印
    */
    private String llr;


    private LocalDateTime yxrq;


    /**
    * 锁定日期
    */
    private LocalDateTime rq1;


    /**
    * 解锁日期
    */
    private LocalDateTime rq2;


    private LocalDateTime rq3;


    /**
    * 制单日
    */
    private LocalDateTime rq4;


    /**
    * 备注
    */
    private String bz;


    /**
    * 价格选定
    */
    private String byzd1;


    /**
    * 锁定
    */
    private String byzd2;


    private String byzd3;


    private String byzd4;


    /**
    * 上次修改
    */
    private String byzd5;


    private String byzd6;


    private String byzd7;


    private Long byzd8;


    /**
    * 打印次数
    */
    private Long byzd9;


    /**
    * 赠券金额
    */
    private Long byzd10;


    /**
    * 配套数量
    */
    private Long byzd11;


    /**
    * 折扣
    */
    private Long byzd12;


    /**
    * 扣率
    */
    private Long byzd13;


    private LocalDateTime byzd14;


    private LocalDateTime byzd15;


    /**
    * 终审
    */
    private String zs;


    /**
    * 终审人
    */
    private String zsr;


    /**
    * 终审日期
    */
    private LocalDateTime zsrq;


    /**
    * 品牌
    */
    private String dm5;


    private String dm51;


    private String dm6;


    private String dm61;


    /**
    * 锁定用户
    */
    private String byzd16;


    /**
    * 解锁用户
    */
    private String byzd17;


    private String byzd18;


    private Integer byzd19;


    private Long byzd20;


    /**
    * 结算货币
    */
    private String jshb;


    /**
    * 汇率
    */
    private Long hbhl;


    /**
    * 分账信息
    */
    private String fzxx;


    /**
    * 销售类型
    */
    private String xslx;


    private Long jsje;


    private Long yxyjje;


    /**
    * 关注
    */
    private String isfocus;


    private Integer isMove;


    private String isChanjet;


    private Long je4;


    private Integer bzs;


    private Long jfhgje;


    /**
    * 顾客代码
    */
    private String gkdm;


    /**
    * GKMC
    */
    private String gkmc;


    /**
    * 小票编号
    */
    private String xpbh;


    private String lsxhbh;


    /**
    * 订单总积分
    */
    private Long jf;


    private String rj;


    /**
    * 整单积分
    */
    private Long zdjf;


    private Integer yxxp;


    private Integer yxsl;


    private Long ftje;


    /**
    * 验收时间
    */
    private LocalDateTime ystm;


    /**
    * 来源
    */
    private String sourceCode;


    /**
    * 是否已计算会员权益
    */
    private Integer isRunvip;


    /**
    * 手机号
    */
    private String phone;


    private LocalDateTime lastdate;


    /**
    * 额外送积分
    */
    private Long jljf;


    /**
    * 积分策略编号
    */
    private String jfclbh;


    private String serviceChannelCode;


    private String serviceSalerCode;


    private String sellerSysShopCode;


    private String sellerCode;


    private Integer hkzt;


    private LocalDateTime hkrq;


    /**
    * 返利金额
    */
    private Long flje;


    /**
    * 返利策略
    */
    private String flclbh;


    private String memberbyguide;


    private String servicestore;


    private String guideofstore;


    private String shopid;


    private String serviceguide;


    private String orderbymember;


    private String province;


    private String city;


    private String district;


    private String address;


    private String gkname;


    private String wxddphone;


    /**
    * 税额
    */
    private Long tax;


    /**
    * 税额本位币
    */
    private Long taxDc;


    /**
    * 不含税金额
    */
    private Long jeWithoutTax;


    /**
    * 不含税金额本位币
    */
    private Long jeWithoutTaxDc;


    /**
    * 金额本位币
    */
    private Long jeDc;


    /**
    * 税率(百分比数字)
    */
    private Long taxRate;


    private Integer o2oFdfh;


    private String webbh;


    private Integer upgradeStatus;


    private String oaid;


    private String tid;


    private String desreceiverName;


    private String desreceiverAddress;


    private String desreceiverMobile;


    private String desreceiverPhone;


    private String jdSj;


    private String sourceplatformname;


    /**
    * 下单运费
    */
    private Long shippingFee;


    /**
    * 来源平台
    */
    private String lylx;


    private Integer isjs;


    private Integer ispj;


    private String dealCode;


    private String ouid;


    private String omid;


    private String doudianOpenId;


    private String ysdd;


    private String ysqh;


    private String presaleCode;


    private String lbdm;


    /**
    * 实发运费
    */
    private Long shippingFeeOrig;


    private Integer isPush;


    private Integer failCount;


    private Integer needwxdd;


    private String mallCardCode;


    private String mallCardDiscout;


    private String djddh;


    private Long xxje;


    private LocalDateTime receiptTime;


    private String userid;


    private String jsc;


    private String isjm;


    private String omstype;

}
